//
//  Sqlite3Helper.h
//  NetTest
//
//  Created by mac on 12-5-12.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "FCCommon.h"

@interface Sqlite3Helper : NSObject
{
    sqlite3 *db;
    int openResult;
}
+(Sqlite3Helper*)Instance;

-(void) copyDatabaseIfNeeded;
-(sqlite3_stmt *)execQuery:(NSString *)sql;
-(void)executeNonQuery:(NSString *)sql;
-(void)openDB;
-(void)closeDB;
-(void)close;
@end
